<html>
<head><meta charset="utf-8"><title>bootstrap-issues · general · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/index.html">general</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/bootstrap-issues.html">bootstrap-issues</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="129043816"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/bootstrap-issues/near/129043816" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> davidtwco <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/bootstrap-issues.html#129043816">(Jul 03 2018 at 19:43)</a>:</h4>
<p>Doing a fresh build of Rust, just cloned on the system I normally use and I'm getting the following:</p>
<div class="codehilite"><pre><span></span>Updating only changed submodules
Submodules updated in 0.21 seconds
    Finished dev [unoptimized] target(s) in 0.92s
Warning: Using a potentially old librustc. This may not behave well.
Warning: Using a potentially old libstd. This may not behave well.
Warning: Using a potentially old libtest. This may not behave well.
Warning: Using a potentially old librustc. This may not behave well.
Warning: Using a potentially old librustc. This may not behave well.
Copying stage0 rustc from stage0 (x86_64-unknown-linux-gnu -&gt; x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
thread &#39;main&#39; panicked at &#39;File::open(stamp) failed with No such file or directory (os error 2)&#39;, bootstrap/lib.rs:1093:12
stack backtrace:
   0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace
             at libstd/sys/unix/backtrace/tracing/gcc_s.rs:49
   1: std::sys_common::backtrace::print
             at libstd/sys_common/backtrace.rs:71
             at libstd/sys_common/backtrace.rs:59
   2: std::panicking::default_hook::{{closure}}
             at libstd/panicking.rs:211
   3: std::panicking::default_hook
             at libstd/panicking.rs:227
   4: std::panicking::rust_panic_with_hook
             at libstd/panicking.rs:511
   5: std::panicking::continue_panic_fmt
             at libstd/panicking.rs:426
   6: std::panicking::begin_panic_fmt
             at libstd/panicking.rs:413
   7: bootstrap::Build::read_stamp_file
             at bootstrap/lib.rs:1093
   8: bootstrap::compile::add_to_sysroot
             at bootstrap/compile.rs:1015
   9: &lt;bootstrap::compile::RustcLink as bootstrap::builder::Step&gt;::run
             at bootstrap/compile.rs:618
  10: bootstrap::builder::Builder::ensure
             at bootstrap/builder.rs:1117
  11: &lt;bootstrap::compile::Rustc as bootstrap::builder::Step&gt;::run
             at bootstrap/compile.rs:496
  12: bootstrap::builder::Builder::ensure
             at bootstrap/builder.rs:1117
  13: &lt;bootstrap::compile::Assemble as bootstrap::builder::Step&gt;::run
             at bootstrap/compile.rs:953
  14: bootstrap::builder::Builder::ensure
             at bootstrap/builder.rs:1117
  15: bootstrap::builder::Builder::compiler
             at bootstrap/builder.rs:577
  16: &lt;bootstrap::compile::Std as bootstrap::builder::Step&gt;::make_run
             at bootstrap/compile.rs:56
  17: bootstrap::builder::StepDescription::maybe_run
             at bootstrap/builder.rs:191
  18: bootstrap::builder::StepDescription::run
             at bootstrap/builder.rs:215
  19: bootstrap::builder::Builder::run_step_descriptions
             at bootstrap/builder.rs:569
  20: bootstrap::builder::Builder::execute_cli
             at bootstrap/builder.rs:559
  21: bootstrap::Build::build
             at bootstrap/lib.rs:461
  22: bootstrap::main
             at bootstrap/bin/main.rs:29
  23: std::rt::lang_start::{{closure}}
             at /checkout/src/libstd/rt.rs:74
  24: std::panicking::try::do_call
             at libstd/rt.rs:59
             at libstd/panicking.rs:310
  25: __rust_maybe_catch_panic
             at libpanic_unwind/lib.rs:105
  26: std::rt::lang_start_internal
             at libstd/panicking.rs:289
             at libstd/panic.rs:392
             at libstd/rt.rs:58
  27: std::rt::lang_start
             at /checkout/src/libstd/rt.rs:74
  28: main
  29: __libc_start_main
  30: _start
failed to run: /mnt/c/Users/David/Projects/personal/rust0/build/bootstrap/debug/bootstrap build --config ./config.toml --stage 1 --keep-stage 0 -j 4 -i
Build completed unsuccessfully in 0:00:04
</pre></div>


<p>Any ideas? I've tried clearing the build directory and completely re-cloning but seem to be getting nowhere?</p>



<a name="129043826"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/bootstrap-issues/near/129043826" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/bootstrap-issues.html#129043826">(Jul 03 2018 at 19:43)</a>:</h4>
<blockquote>
<p>This may not behave well.</p>
</blockquote>
<p>Nailed it.</p>



<a name="129043830"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/bootstrap-issues/near/129043830" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> davidtwco <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/bootstrap-issues.html#129043830">(Jul 03 2018 at 19:43)</a>:</h4>
<p>It did successfully pull down all the submodules in the first run.</p>



<a name="129043833"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/bootstrap-issues/near/129043833" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> davidtwco <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/bootstrap-issues.html#129043833">(Jul 03 2018 at 19:44)</a>:</h4>
<p>It's a fresh build of <code>master</code>. So I don't know why it is saying that.</p>



<a name="129043880"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/bootstrap-issues/near/129043880" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/bootstrap-issues.html#129043880">(Jul 03 2018 at 19:44)</a>:</h4>
<p>Which SHA?</p>



<a name="129043888"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/bootstrap-issues/near/129043888" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> davidtwco <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/bootstrap-issues.html#129043888">(Jul 03 2018 at 19:44)</a>:</h4>
<p><code>860d169474acabdc53b9a698f8ce02eba7e0daeb</code></p>



<a name="129043890"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/bootstrap-issues/near/129043890" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/bootstrap-issues.html#129043890">(Jul 03 2018 at 19:44)</a>:</h4>
<p>That message should only be printed if you pass <code>--keep-stage</code>...</p>



<a name="129043910"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/bootstrap-issues/near/129043910" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/bootstrap-issues.html#129043910">(Jul 03 2018 at 19:45)</a>:</h4>
<p>are you?</p>



<a name="129043911"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/bootstrap-issues/near/129043911" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> davidtwco <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/bootstrap-issues.html#129043911">(Jul 03 2018 at 19:45)</a>:</h4>
<p>Ah, I am doing that. It's just one of the flags I always pass.</p>



<a name="129043919"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/bootstrap-issues/near/129043919" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/bootstrap-issues.html#129043919">(Jul 03 2018 at 19:45)</a>:</h4>
<p>Yeah, the behavior has been updated such that compiler devs are happier; that also means that it might not do what you expect</p>



<a name="129043920"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/bootstrap-issues/near/129043920" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/bootstrap-issues.html#129043920">(Jul 03 2018 at 19:45)</a>:</h4>
<div class="codehilite"><pre><span></span> * [new branch]            weak-unboxing -&gt; upstream/weak-unboxing
</pre></div>


<p>Who is pushing their topic branches to the master repo, SMH</p>



<a name="129043961"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/bootstrap-issues/near/129043961" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/bootstrap-issues.html#129043961">(Jul 03 2018 at 19:46)</a>:</h4>
<p>This is why we can't have nice things</p>



<a name="129043971"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/bootstrap-issues/near/129043971" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> davidtwco <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/bootstrap-issues.html#129043971">(Jul 03 2018 at 19:46)</a>:</h4>
<p>Alright, it worked without that, thanks!</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>